﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MvcShop.Models
{
    [MetadataType(typeof(Product_propertyMetadata))]
    public partial class Product_property
    {
    }

    public class Product_propertyMetadata
    {
        [Required(ErrorMessage = "属性名称不能为空.")]
        [StringLength(50, ErrorMessage = "属性名称不能超过50个字符.")]
        public string PropertyName { get; set; } 
    }
}
